package com.qiqidream.admin.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * @author QiQiDream
 * @since 2019/12/30 19:49
 */
@Getter
public enum CaptchaType {

    ABC_CAPTCHA(1,"英文类型"),
    GIF_CAPTCHA(2,"英文动图类型"),
    CHINESE_CAPTCHA(3,"中文类型"),
    CHINESE_GIF_CAPTCHA(4,"中文动图类型"),
    ARITHMETIC_CAPTCHA(5,"算术类型");

    CaptchaType(int code, String type) {
        this.code = code;
        this.type = type;
    }

    private final Integer code;

    private final String type;
}
